namespace MalwareMultiScan.Backends.Messages
{
    /// <summary>
    /// Scan result message.
    /// </summary>
    public class ScanResultMessage
    {
        /// <summary>
        /// Result id.
        /// </summary>
        public string Id { get; set; }
        
        /// <summary>
        /// Backend.
        /// </summary>
        public string Backend { get; set; }

        /// <summary>
        /// Status.
        /// </summary>
        public bool Succeeded { get; set; }
        
        /// <summary>
        /// List of detected threats.
        /// </summary>
        public string[] Threats { get; set; }

        /// <summary>
        /// Duration.
        /// </summary>
        public long Duration { get; set; }
    }
}